//
//  HYBDPanFileModel.m
//  HYBDPanFileModel
//  Created by 张水 on 2023/09/19.
//  Copyright © 2023年 张水. All rights reserved.
//

#import "HYBDPanFileModel.h"


@implementation HYBDPanFileModel

+ (NSDictionary *)mj_replacedKeyFromPropertyName
{
    return @{@"ID":@"id",@"DESCRIPTION":@"description",@"ERRNO":@"errno"};
}

+ (NSDictionary *)mj_objectClassInArray
{
    return @{@"list" : NSStringFromClass([HYBDPanFileModelList class]) };
}
+ (instancetype)modelWithJson:(id)json
{
    id model = nil;
    if ([json isKindOfClass:[NSString class]] || [json isKindOfClass:[NSDictionary class]]){
        model = [self mj_objectWithKeyValues:json];
    }else if([json isKindOfClass:[NSArray class]]){
        model = [self mj_objectArrayWithKeyValuesArray:json];
    }
    return model;
}

@end


@implementation HYBDPanFileModelList

+ (NSDictionary *)mj_replacedKeyFromPropertyName
{
    return @{@"ID":@"id",@"DESCRIPTION":@"description"};
}

+ (NSDictionary *)mj_objectClassInArray
{
    return @{};
}

@end


@implementation HYBDPanFileModelListThumb

+ (NSDictionary *)mj_replacedKeyFromPropertyName
{
    return @{@"ID":@"id",@"DESCRIPTION":@"description"};
}

+ (NSDictionary *)mj_objectClassInArray
{
    return @{};
}

@end


@implementation HYBDPanFileModelNam

+ (NSDictionary *)mj_replacedKeyFromPropertyName
{
    return @{@"ID":@"id",@"DESCRIPTION":@"description"};
}

+ (NSDictionary *)mj_objectClassInArray
{
    return @{};
}

@end
